package com.lzk.order.mapper;

import com.lzk.basic.mapper.BaseMapper;
import com.lzk.order.domain.OrderPetAcquisition;

import java.util.List;


public interface OrderPetAcquisitionMapper extends BaseMapper<OrderPetAcquisition> {

    /**
     * 根据msgid查询订单
     * @param msgId
     */
    OrderPetAcquisition loadByMsgId(Long msgId);

    /**
     * 通过订单编号查询
     * @param orderSn
     * @return
     */
    OrderPetAcquisition loadByOrderSn(String orderSn);

    void updateStaAndShopId(String orderSn);
}
